﻿<Window x:Class="FishingSearch.MainWindow_New"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:FishingSearch"
        Title="Fishing Search" Height="700" Width="1000"
        WindowStartupLocation="CenterOwner">


    <Window.Background>
        <LinearGradientBrush EndPoint="0.8,0.98"
                           StartPoint="-0.500,-0.197">
            <GradientStop Color="#FFD6E1EA"
                      Offset="0" />
            <GradientStop Color="#FF00000F"
                      Offset="1" />
            <GradientStop Color="#FF6EB5F5"
                      Offset="0.304" />
        </LinearGradientBrush>

    </Window.Background>
    <DockPanel>
        <Border DockPanel.Dock="Top">
            <Menu>
                <MenuItem Header="File" >
                    <MenuItem Header="Converti in Excel">
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/excel.png" />
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Esci" IsEnabled="True">
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/exit.png" />
                        </MenuItem.Icon>
                    </MenuItem>
                </MenuItem>

                <MenuItem Header="Opzioni" >
                    <MenuItem Header="Canne" >
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/rod.png" />
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Mulinelli" >
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/reel.png" />
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Artificiali" >
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/artificial.png" />
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem Header="Altro" >
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/option.png" />
                        </MenuItem.Icon>
                    </MenuItem>


                </MenuItem>

                <MenuItem Header="Info" >
                    <MenuItem Header="Info">
                        <MenuItem.Icon>
                            <Image Width="20" Height="20" Source="/ICONS/info.png" />
                        </MenuItem.Icon>
                    </MenuItem>
                </MenuItem>

            </Menu>
        </Border>

        <Border DockPanel.Dock="Left" BorderThickness="0.01" BorderBrush="Black" Width="178">
            <StackPanel>
                <TextBlock />
                <TextBlock Foreground="AliceBlue" FontFamily="Global User Interface" Text="FISHING SEARCH" FontWeight="Bold" FontSize="18" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                <TextBlock />

                <Expander Name="expSpinning" Header="SPINNING"  Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expCasting" Header="CASTING" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expSurfCasting" Header="SURFCASTING" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expBolentino" Header="BOLENTINO" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expJigging" Header="JIGGING" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expPescaMosca" Header="PESCA A MOSCA" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expTraina" Header="TRAINA" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expDrifting" Header="DRIFTING" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expBolognese" Header="BOLOGNESE" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <Expander Name="expRoubasienne" Header="ROUBASIENNE" Style="{StaticResource ExpanderMainWindow}"></Expander>
                <TextBlock />
                <TextBlock />
                <TextBlock />
                <Button Style="{StaticResource ButtonSearch}" Name="btnSearch" >
                    <Button.ToolTip>
                        <ToolTip>
                            <StackPanel>
                                <TextBlock FontWeight="Bold">CERCA</TextBlock>
                                <!--<TextBlock>Clicca per iniziare la ricerca.</TextBlock>-->
                            </StackPanel>
                        </ToolTip>
                    </Button.ToolTip>
                </Button>
                <TextBlock />
                <TextBlock />
                <TextBlock>
                    <TextBlock Name="txtTrovate" Foreground="AliceBlue" FontFamily="Global User Interface" FontSize="13" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                </TextBlock>
                <TextBlock />
                <TextBlock />
                <TextBlock />
                <Button FontWeight="Bold" Background="#FF426C98" Foreground="White">NEGOZI ONLINE</Button>
                <Button FontWeight="Bold" Background="#FF426C98" Foreground="White">NEGOZI SOTTO CASA</Button>
            </StackPanel>

        </Border>
        <Border DockPanel.Dock="Bottom" ></Border>

        <Border >

            <Grid Name="gridResults">
                <Image Name="imgFishCentral" Visibility="Visible" Width="256" Height="256" Source="/ICONS/fish.png" />
                <DataGrid Name="dataGridResults" Visibility="Hidden"
                SelectionUnit="Cell"
                    SelectionMode="Single" 
                    HorizontalScrollBarVisibility="Auto" 
                    VerticalScrollBarVisibility="Auto" 
                    IsReadOnly="True" 
                    BorderBrush="Gray" 
                    BorderThickness="5" 
                    RowBackground="#FFD6E1EA"
                    AlternatingRowBackground="White" 
                    ItemsSource="{Binding}" 
                    Margin="0,0,0,0">
                    <DataGrid.Resources>
                        <!--<Style TargetType="Hyperlink">
                            <EventSetter Event="Click" Handler="DG_Hyperlink_Click"/>
                        </Style>-->
                    </DataGrid.Resources>

                </DataGrid>

            </Grid>


        </Border>
    </DockPanel>


</Window>
